/**
 * Copyright (c) 2016-2020 https://github.com/zhaohuatai
 *
 * contact 824069438@qq.com
 *  
 */
package zfes.snowier.projects.sample.biz.model;

import org.zfes.snowier.common.dao.IBaseModel;

public class Sample extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public Sample() {}
	public Sample(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->
	  @javax.validation.constraints.NotNull(message="编码不能为空")
      @org.hibernate.validator.constraints.Length(min=0,max=20,message="编码长度不能大于20")
	  private java.lang.String code;
	  @javax.validation.constraints.NotNull(message="名称不能为空")
	  @org.hibernate.validator.constraints.Length(min=0,max=40,message="名称长度不能大于40")
	  private java.lang.String name;
	  private java.lang.Integer showIndex;
	  private java.lang.Byte status;
	  @org.hibernate.validator.constraints.Length(min=0,max=60,message="备注长度不能大于60")
	  private java.lang.String remark;
	  private java.lang.Long creater;
	  private java.util.Date createTime;
	  private java.util.Date updateTime;

	public java.lang.String getCode() {
		return code;
	}
	public void setCode(java.lang.String code) {
		this.code = code;
	}
	public java.lang.String getName() {
		return name;
	}
	public void setName(java.lang.String name) {
		this.name = name;
	}
	public java.lang.Integer getShowIndex() {
		return showIndex;
	}
	public void setShowIndex(java.lang.Integer showIndex) {
		this.showIndex = showIndex;
	}
	public java.lang.Byte getStatus() {
		return status;
	}
	public Sample setStatus(java.lang.Byte status) {
		this.status = status;
		return this;
	}
	public java.lang.String getRemark() {
		return remark;
	}
	public void setRemark(java.lang.String remark) {
		this.remark = remark;
	}
	public java.lang.Long getCreater() {
		return creater;
	}
	public void setCreater(java.lang.Long creater) {
		this.creater = creater;
	}
	public java.util.Date getCreateTime() {
		return createTime;
	}
	public Sample setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public java.util.Date getUpdateTime() {
		return updateTime;
	}
	public Sample setUpdateTime(java.util.Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}
	  
	
}
